<?
class EvaluationHelper {
	 
	 public $note;
	 public $imageStar = "<img src='/public/images/icons/star.png'/>";
	 public $imageUnstar = "<img src='/public/images/icons/unstar.png'/>";
	 
	 public function __construct($note){
		  $this->note = $note;
		  
		  for($i=0;$i<$note;$i++){
				$this->image .= $this->imageStar;
		  }
		  for($i=$note;$i<5;$i++){
				$this->image .= $this->imageUnstar;
		  }
	 }
	 public function __toString(){
		  return $this->image;
	 }
	 
	 
}
